<?
ini_set("default_charset", "utf-8");
header("Content-type: text/html; charset=utf-8");

require_once '/var/www/include/xarxeta/config.php';
require_once $com_inc_path.'localization.php';
require_once $com_inc_path.'class_Skinner.php';

// Define language to be used
$loc = new localization($available_languages, $default_language);
$labels = $loc->load_labels($translation_files);

// Main process
include($app_inc_path."register.php");

// Build output page.
$skinner = new Skinner();
$skinner->setSkin($skins_path."index");
$skinner->registerVariable("output", $output);
echo $skinner->doSubstitution_FAST();
?>
